<template>
  <div class="return-wrap">
    <i class="el-icon-arrow-left" @click="goBack"></i>
    <div class="title">{{title}}</div>
  </div>
</template>

<script>
export default {
    name: 'Return',
    props: ['title'],
    methods: {
      goBack() {
        this.$router.back()
      }
    },
}
</script>

<style lang="scss" scoped>
  .return-wrap {
    width: 100%;
    height: 26px;
    margin-top: 24px;
    margin-bottom: 114px;
    font-size: 16px;
    line-height: 26px;
    display: flex;
    color: #fff;
    i {
      color: #00a3ff;
      font-size: 26px;
      align-items: center;
      margin-right: 16px;
      cursor: pointer;
    }
  }
</style>